package cn.ggcms.cms.biz;

import java.util.List;

import cn.ggcms.cms.dao.AdminUserDao;
import cn.ggcms.cms.vo.AdminUser;

public class AdminUserBiz implements AdminUserDao {

	
	private AdminUserDao adminUserDao  ;
	
	public void setAdminUserDao(AdminUserDao adminUserDao) {
		this.adminUserDao = adminUserDao;
	}

	public boolean doDeleteAdminUserById(int id) {
		return this.adminUserDao.doDeleteAdminUserById(id);
	}

	public boolean doInsertAdminUser(AdminUser adminUser) {
		return this.adminUserDao.doInsertAdminUser(adminUser);
	}

	public AdminUser findAdminUserById(int id) {
		return this.adminUserDao.findAdminUserById(id);
	}

	public List<AdminUser> findAdminUsers() {
		return this.adminUserDao.findAdminUsers();
	}

	public AdminUser findAdminUser(AdminUser adminUser) {
		return this.adminUserDao.findAdminUser(adminUser);
	}

	public boolean doUpdateAdminUser(AdminUser adminUser) {
		return this.adminUserDao.doUpdateAdminUser(adminUser);
	}
	
}
